Synchronizing Visual And Speech Events In A Multimodal Application

ABSTRACT

Exemplary methods, systems, and products are disclosed for synchronizing visual and speech events in a multimodal application, including receiving from a user speech; determining a semantic interpretation of the speech; calling a global application update handler; identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation; and executing the additional function. Typical embodiments may include updating a visual element after executing the additional function. Typical embodiments may include updating a voice form after executing the additional function. Typical embodiments also may include updating a state table after updating the voice form. Typical embodiments also may include restarting the voice form after executing the additional function.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation application of and claims priority from U.S. patent application Ser. No. 11/154,898, filed on Jun. 16, 2005.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The field of the invention is data processing, or, more specifically, methods, systems, and products for synchronizing visual and speech events in a multimodal application.

2. Description of Related Art

User interaction with applications running on small devices through a keyboard or stylus has become increasingly limited and cumbersome as those devices have become increasingly smaller. In particular, small handheld devices like mobile phones and PDAs serve many functions and contain sufficient processing power to support user interaction through other modes, such as multimodal access. Devices which support multimodal access combine multiple user input modes or channels in the same interaction allowing a user to interact with the applications on the device simultaneously through multiple input modes or channels. The methods of input include speech recognition, keyboard, touch screen, stylus, mouse, handwriting, and others. Multimodal input often makes using a small device easier.

Multimodal applications often run on servers that serve up multimodal web pages for display on a multimodal browser. A ‘multimodal browser,’ as the term is used in this specification, generally means a web browser capable of receiving multimodal input and interacting with users with multimodal output. Multimodal browsers typically render web pages written in XHTML+Voice (X+V). X+V provides a markup language that enables users to interact with an multimodal application often running on a server through spoken dialog in addition to traditional means of input such as keyboard strokes and mouse pointer action. X+V adds spoken interaction to standard web content by integrating XHTML (eXtensible Hypertext Markup Language) and speech recognition vocabularies supported by Voice XML. For visual markup, X+V includes the XHTML standard. For voice markup, X+V includes a subset of VoiceXML. For synchronizing the VoiceXML elements with corresponding visual interface elements, X+V uses events. XHTML includes voice modules that support speech synthesis, speech dialogs, command and control, and speech grammars. Voice handlers can be attached to XHTML elements and respond to specific events. Voice interaction features are integrated with XHTML and can consequently be used directly within XHTML content.

The top-level VocieXML element is <vxml>, which is a container for dialogs. There are two kinds of dialogs: forms and menus. Voice forms define an interaction that collects values for a set of form item variables. Each form item variable of a voice form may specify a grammar that defines the allowable inputs for that form item. If a form-level grammar is present, it can be used to fill several form items from one utterance. A menu presents the user with a choice of options and then transitions to another dialog based on that choice.

Forms are interpreted by a form interpretation algorithm (FIA). An FIA typically includes a main loop that repeatedly selects form items collects user input and identifies any actions to be taken in response to input items. Interpreting a voice form item typically includes selecting and playing one or more voice prompts, collecting user input, either a response that fills in one or more input items, or a throwing of some event (a help even, for example), and interpreting any actions that pertained to the newly filled in input items.

To synchronize the receipt of spoken information and visual elements, X+V provides a <sync> element. The <sync> element synchronizes data entered through various multimodal input. That is, the <sync> element synchronizes accepted speech commands received in the multimodal browser with visual elements displayed in the multimodal browser. <Sync> synchronizes the value property of an XHTML input control with a VoiceXML field in a one to one manner. <Sync> does not activate a voice handler and therefore does not allow for the identification and execution of further additional functions in response to a particular speech command. There is therefore an ongoing need for improvement in synchronizing visual and speech events in a multimodal application that allows for execution of multiple application functions in response to a speech command received in a voice form or voice menu.

SUMMARY OF THE INVENTION

More particularly, exemplary methods, systems, and products are disclosed for synchronizing visual and speech events in a multimodal application, including receiving from a user speech; determining a semantic interpretation of the speech; calling a global application update handler; identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation; and executing the additional function. Typical embodiments may include updating a visual element after executing the additional function. Typical embodiments may include updating a voice form after executing the additional function. Typical embodiments also may include updating a state table after updating the voice form. Typical embodiments also may include restarting the voice form after executing the additional function.

In typical embodiments, calling a global application update handler also include exiting a voice form. Calling a global application update handler also includes exiting a voice menu.

The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 sets forth a network diagram illustrating an exemplary system of devices each of which is capable of supporting a multimodal application.

FIG. 2 sets forth a block diagram of automated computing machinery comprising an exemplary server capable of synchronizing visual and speech events.

FIG. 3 sets forth a block diagram of automated computing machinery comprising an exemplary client useful in synchronizing visual and speech events.

FIG. 4 sets forth a flow chart illustrating an exemplary method for synchronizing visual and speech events in a multimodal application.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS Introduction

The present invention is described to a large extent in this specification in terms of methods for synchronizing visual and speech events in a multimodal application. Persons skilled in the art, however, will recognize that any computer system that includes suitable programming means for operating in accordance with the disclosed methods also falls well within the scope of the present invention. Suitable programming means include any means for directing a computer system to execute the steps of the method of the invention, including for example, systems comprised of processing units and arithmetic-logic circuits coupled to computer memory, which systems have the capability of storing in computer memory, which computer memory includes electronic circuits configured to store data and program instructions, programmed steps of the method of the invention for execution by a processing unit.

The invention also may be embodied in a computer program product, such as a diskette or other recording medium, for use with any suitable data processing system. Embodiments of a computer program product may be implemented by use of any recording medium for machine-readable information, including magnetic media, optical media, transmission media, or other suitable media. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a program product. Persons skilled in the art will recognize immediately that, although most of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.

Synchronizing Visual And Speech Events in a Multimodal Application

Exemplary methods, systems, and products for synchronizing visual and speech events in a multimodal application according to embodiments of the present invention are described with reference to the accompanying drawings, beginning with FIG. 1. FIG. 1 sets forth a network diagram illustrating an exemplary system of devices each of which is capable of supporting a multimodal application such as a multimodal browser that is capable of displaying visual and speech events synchronized in accordance with the present invention. The system of FIG. 1 includes a number of computers connected for data communications in networks. Each of the computers of the system of FIG. 1 may have a multimodal application such as a multimodal browser installed upon it.

The data processing system of FIG. 1 includes wide area network (“WAN”) (101) and local area network (“LAN”) (103). The network connection aspect of the architecture of FIG. 1 is only for explanation, not for limitation. In fact, systems having multimodal applications according to embodiments of the present invention may be connected as LANs, WANs, intranets, internets, the Internet, webs, the World Wide Web itself, or other connections as will occur to those of skill in the art. Such networks are media that may be used to provide data communications connections between various devices and computers connected together within an overall data processing system.

In the example of FIG. 1, server (106) implements a gateway, router, or bridge between LAN (103) and WAN (101). Server (106) may be any computer capable of accepting a request for a resource from a client device and responding by providing a resource to the requester. One example of such a server is an HTTP (‘HyperText Transport Protocol’) server or ‘web server.’ The exemplary server (106) is capable of serving up multimodal web pages having visual and speech events synchronized according to embodiments of the present invention. The exemplary server (106) of

FIG. 1 is also capable of supporting a multimodal web application capable of synchronizing visual and speech events by receiving from a user speech, determining a semantic interpretation of the speech, calling a global application update handler, identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation, and executing the additional function. The use of such a global application update handler by the multimodal application advantageously provides a vehicle for additional processing of semantic interpretations given to speech commands received from a user.

The exemplary client devices (108, 112, 104, 110, 126, and 102) support multimodal browser and are coupled for data communications with a multimodal web application on the server (106) that capable of serving up multimodal web pages according to embodiments of the present invention. A ‘multimodal browser,’ as the term is used in this specification, generally means a web browser capable of receiving multimodal input and interacting with users with multimodal output. Multimodal browsers typically render web pages written in XHTML+Voice (X+V).

In the example of FIG. 1, several exemplary devices including a PDA (112), a computer workstation (104), a mobile phone (110), and a personal computer (108) are connected to a WAN (101). Network-enabled mobile phone (110) connects to the WAN (101) through a wireless link (116), and the PDA (112) connects to the network (101) through a wireless link (114). In the example of FIG. 1, the personal computer (108) connects through a wireline connection (120) to the WAN (101) and the computer workstation (104) connects through a wireline connection (122) to the WAN (101). In the example of FIG. 1, the laptop (126) connects through a wireless link (118) to the LAN (103) and the personal computer (102) connects through a wireline connection (124) to LAN (103). In the system of FIG. 1, exemplary client devices (108, 112, 104, 110, 126, and 102) support multimodal applications, such multimodal browsers, capable of receiving speech input from a user and providing the speech input to a multimodal web application on the server (106) either as streaming speech or as text converted from the speech by a speech recognition engine on the client.

The arrangement of servers and other devices making up the exemplary system illustrated in FIG. 1 are for explanation, not for limitation. Data processing systems useful according to various embodiments of the present invention may include additional servers, routers, other devices, and peer-to-peer architectures, not shown in FIG. 1, as will occur to those of skill in the art. Networks in such data processing systems may support many data communications protocols, including for example TCP/IP, HTTP, WAP, HDTP, and others as will occur to those of skill in the art. Various embodiments of the present invention may be implemented on a variety of hardware platforms in addition to those illustrated in FIG. 1.

Multimodal applications that support synchronizing visual and speech events according to embodiments of the present invention are generally implemented with computers, that is, with automated computing machinery. For further explanation, therefore, FIG. 2 sets forth a block diagram of automated computing machinery comprising an exemplary server (151) capable of synchronizing visual and speech events by receiving from a user speech, determining a semantic interpretation of the speech, calling a global application update handler, identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation, and executing the additional function.

The server (151) of FIG. 2 includes at least one computer processor (156) or ‘CPU’ as well as random access memory (168) (“RAM”) which is connected through a system bus (160) to processor (156) and to other components of the computer. Stored in RAM (168) is an operating system (154). Operating systems useful in computers according to embodiments of the present invention include UNIX™, Linux™, Microsoft NT™, AIX™, IBM's i5/OS, and many others as will occur to those of skill in the art.

Also stored in RAM (168) is a multimodal application (188) having a speech synchronization module information module (192) capable generally of synchronizing visual and speech events by receiving from a user speech, determining a semantic interpretation of the speech, calling a global application update handler, identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation, and executing the additional function.

Speech may be received in the multimodal application (188) either as speech streamed from a client device or as text received from a multimodal browser installed on a client that supports a speech recognition engine. The exemplary multimodal application includes a speech recognizer (193) useful in receiving speech and converting the speech to text by parsing the received speech against a grammar. A grammar is a predefined set of words or phrases that the speech recognizer implementing the grammar will recognize. Typically each dialog defined by a particular form or menu being presented to a user has one or more grammars associated with the form or menu defining the dialog. Such grammars are active only when that form or menu is active.

The exemplary multimodal application (188) of FIG. 2 also includes a semantic interpretation engine (191) capable of determining a semantic interpretation of the speech recognized by the speech recognizer (193). The semantic interpretation engine of FIG. 2 receives recognized speech either as text or in another form and assigns a semantic meaning to the input. For example, many words that users utter such as “yes,” “affirmative,” “sure,” and “I agree,” could be given the same semantic meaning of “yes.”

The exemplary speech synchronization module information module (192) of FIG. 2 determines a semantic interpretation of the speech by calling the semantic interpretation engine parameterized with the speech received from the user and the semantic interpretation engine returns to the speech synchronization module one or more a semantic interpretations of the speech. The speech synchronization module information module (192) then calls a global application update handler which in turn identifies for each semantic interpretation an additional processing function in dependence upon the semantic interpretation and executes the additional function.

An additional processing function may be any software function capable of performing any action whose identification and execution is dependent upon the semantic interpretation of the speech. Consider the example of multimodal application that receives a speech command from a user currently in a dialog with a multimodal menu. The user says ‘go on’ and the semantic interpretation engine interprets the speech as an instruction from the user to move to the next menu. An synchronization module information module (192) of the present invention is capable of calling a global update handler which identifies a particular function that identifies and displays advertisement to the user prior to updating the visual elements of the next menu and starting for the user the next menu. Such a global application update handler advantageously provides a vehicle for additional processing prior to updating the visual elements and voice forms or menus of a multimodal application.

Server (151) of FIG. 2 includes non-volatile computer memory (166) coupled through a system bus (160) to processor (156) and to other components of the server (151). Non-volatile computer memory (166) may be implemented as a hard disk drive (170), optical disk drive (172), electrically erasable programmable read-only memory space (so-called ‘EEPROM’ or ‘Flash’ memory) (174), RAM drives (not shown), or as any other kind of computer memory as will occur to those of skill in the art.

The exemplary server (151) of FIG. 2 includes one or more input/output interface adapters (178). Input/output interface adapters in computers implement user-oriented input/output through, for example, software drivers and computer hardware for controlling output to display devices (180) such as computer display screens, as well as user input from user input devices (181) such as keyboards and mice.

The exemplary server (151) of FIG. 2 includes a communications adapter (167) for implementing data communications (184) with other computers (182). Such data communications may be carried out serially through RS-232 connections, through external buses such as USB, through data communications networks such as IP networks, and in other ways as will occur to those of skill in the art. Communications adapters implement the hardware level of data communications through which one computer sends data communications to another computer, directly or through a network. Examples of communications adapters useful in multimodal applications according to embodiments of the present invention include modems for wired dial-up communications, Ethernet (IEEE 802.3) adapters for wired network communications, and 802.11b adapters for wireless network communications.

Synchronizing visual and speech events is often carried out by multimodal applications on servers receiving from a user speech through a multimodal browser running on a client device coupled for data communications with the server. For further explanation, therefore, FIG. 3 sets forth a block diagram of automated computing machinery comprising an exemplary client (152) useful in synchronizing visual and speech events according to embodiments of the present invention.

The client (152) of FIG. 3 includes at least one computer processor (156) or ‘CPU’ as well as random access memory (168) (“RAM”) which is connected through a system bus (160) to processor (156) and to other components of the computer. Stored in RAM (168) is an operating system (154). Operating systems useful in computers according to embodiments of the present invention include UNIX™, Linux™, Microsoft NT™, AIX™, IBM's i5/OS, and many others as will occur to those of skill in the art.

Also stored in RAM (168) is a multimodal browser (195) capable of displaying visual and speech events synchronized according to embodiments of the present invention.

The exemplary multimodal browser (195) of FIG. 3 also includes a user agent (197) capable of receiving from a user speech and converting the speech to text by parsing the received speech against a grammar. A grammar is a set of words or phrases that the user agent will recognize. Typically each dialog defined by a particular form or menu being presented to a user has one or more grammars associated with the form or menu. Such grammars are active only when the user is in that dialog.

Client (152) of FIG. 3 includes non-volatile computer memory (166) coupled through a system bus (160) to processor (156) and to other components of the client (152). Non-volatile computer memory (166) may be implemented as a hard disk drive (170), optical disk drive (172), electrically erasable programmable read-only memory space (so-called ‘EEPROM’ or ‘Flash’ memory) (174), RAM drives (not shown), or as any other kind of computer memory as will occur to those of skill in the art.

The exemplary client of FIG. 3 includes one or more input/output interface adapters (178). Input/output interface adapters in computers implement user-oriented input/output through, for example, software drivers and computer hardware for controlling output to display devices (180) such as computer display screens, as well as user input from user input devices (181) such as keyboards and mice.

The exemplary client (152) of FIG. 3 includes a communications adapter (167) for implementing data communications (184) with other computers (182). Such data communications may be carried out serially through RS-232 connections, through external buses such as USB, through data communications networks such as IP networks, and in other ways as will occur to those of skill in the art. Communications adapters implement the hardware level of data communications through which one computer sends data communications to another computer, directly or through a network. Examples of communications adapters useful in multimodal browsers according to embodiments of the present invention include modems for wired dial-up communications, Ethernet (IEEE 802.3) adapters for wired network communications, and 802.11b adapters for wireless network communications.

For further explanation, FIG. 4 sets forth a flow chart illustrating an exemplary method for synchronizing visual and speech events in a multimodal application. The method of FIG. 4 includes receiving (402) from a user speech (404). As discussed above, receiving (402) from a user speech (404) may be carried out by speech recognizer of a multimodal application on a server receiving speech streamed from a client device or as text received from a multimodal browser installed on a client that supports a user agent operating as a client side speech recognition engine. Receiving (402) from a user speech (404) typically includes receiving an utterance from a user and parsing the received utterance against an active grammar to recognize the utterance of the user as speech.

The method of FIG. 4 also includes determining (406) a semantic interpretation (410) of the speech (404). In the example of FIG. 4, determining a semantic interpretation of the speech is carried out by a semantic interpretation engine (408). As discussed above, a semantic interpretation engine typically receives recognized speech either as text or in another form and assigns a semantic meaning to the input. For example, many words that users utter such as “yes,” “affirmative,” “sure,” and “I agree,” could be given the same semantic meaning of “yes.”

The method of FIG. 4 also includes calling (412) a global application update handler (414). As discussed above a global application update handler is a single handler called in response to the receipt of any speech command that is capable of advantageously identifying additional processing functions in dependence upon the semantic interpretation of the speech and executing the additional processing functions.

Calling (412) a global application update handler (414) may be carried out through an XML event tied to an XHTML <listener> element having attributes that activate the global application update handler. In the method of FIG. 4 a single XML event is invoked upon the return of any semantic interpretation of the speech received from the user.

In the method of FIG. 4, calling (412) a global application update handler (414) includes exiting (413) a voice form (428). As discussed above a voice form defines an interaction that collects values for a set of form item variables. Exiting the voice form may be carried by issuing a <vxml: return/> to the global application update handler which exits the voice form and returns to the multimodal application. Exiting the voice form advantageously provides a vehicle for identifying and executing additional functions outside any one particular voice form. Such additional functions are therefore available for identification and execution across voice forms, but the additional functions are identified in dependence upon a semantic interpretation often given to the speech based upon a grammar that is defined within the form.

Calling (412) a global application update handler (414) in the example of FIG. 4 includes exiting (413) a voice form (428). This is for example, and not for limitation. Another form of dialog includes a menu. A menu presents the user with a choice of options and then transitions to another dialog based on that choice. Calling (412) a global application update handler (414) may also include exiting a voice menu. Exiting the voice menu advantageously provides a vehicle for identifying and executing additional functions outside any one particular voice menu. Such additional functions are therefore available for identification and execution across voice menus, but the additional functions are identified in dependence upon a semantic interpretation often given to the speech based upon a grammar that is defined within the menu.

The method of FIG. 4 also includes identifying (416), by the global application update handler (414), an additional processing function (418) in dependence upon the semantic interpretation (408) and executing (420) the additional function (418). An additional processing function may be any software function capable of performing any action whose identification and execution is dependent upon the semantic interpretation of the speech. Additional processing function are often executed prior to updating the visual elements of a XHTML document and voice elements of a voice form in an X+V application. Consider the example of multimodal application that receives a speech command from a user currently in a dialog with a multimodal form designed to receive travel information. The user says ‘England’ and the semantic interpretation engine interprets the speech as an instruction from the user to travel to ‘Great Britain.’ Calling a global update handler identifies a particular function that identifies and displays advertisement for a guide to hotels in London. Such a global application update handler advantageously provides a vehicle for additional processing prior to updating the visual elements and voice forms or menus of a multimodal application.

In the example of FIG. 4, only one an additional processing function (418) is identified and executed. This is for explanation and not for limitation. In fact, synchronizing visual and speech events according to embodiments of the present invention may receive a plurality of semantic interpretations for the received speech and may call one or more additional functions in dependence upon one or more of the semantic interpretations.

The method of FIG. 4 also includes updating (422) a visual element (424) after executing (420) the additional function (418). Updating a visual element may be carried out by retuning the results of the semantic interpretation to an XHTML element of the X+V application.

The method of FIG. 4 also includes updating (426) a voice form (428) after executing (420) the additional function (418). Updating (426) a voice form (428) may be carried out by retuning the results of the semantic interpretation to a form item of the voice form.

The method of FIG. 4 also includes updating (430) a state table (432) after updating (426) the voice form (428). The state table (432) of FIG. 4 is typically implemented as a data structure containing for each paired visual element and voice field a value indicating the state of the element and voice field. For example, a state table may include for each paired visual element and voice field a unique value indicating that the current fields have been filled by receiving from a user an instruction and updating the field in response to the user instruction.

The method of FIG. 4 also includes restarting (434) the voice form (428) after executing the additional function. Restarting (434) the voice form (428) after executing the additional function is typically carried out in dependence upon the updated state table. Restarting (434) the voice form (428) in dependence upon the state table typically instructs the multimodal browser to prompt a user for the next unfilled voice field in the voice form.

It will be understood from the foregoing description that modifications and changes may be made in various embodiments of the present invention without departing from its true spirit. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present invention is limited only by the language of the following claims. 

1. A method for synchronizing visual and speech events in a multimodal application, the method comprising: receiving from a user speech; determining a semantic interpretation of the speech; calling a global application update handler; identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation; and executing the additional processing function.
 2. The method of claim 1 further comprising updating a visual element after executing the additional processing function.
 3. The method of claim 1 further comprising updating a voice form after executing the additional processing function.
 4. The method of claim 3 further comprising updating a state table after updating the voice form.
 5. The method of claim 1 wherein calling a global application update handler further comprises exiting a voice form.
 6. The method of claim 5 further comprising restarting the voice form after executing the additional processing function.
 7. The method of claim 1 wherein calling a global application update handler further comprises exiting a voice menu.
 8. A system for synchronizing visual and speech events in a multimodal application, the system comprising at least one computer processor, at least one computer memory operatively coupled to the computer processor, and computer program instructions disposed within the computer memory capable of: receiving from a user speech; determining a semantic interpretation of the speech; calling a global application update handler; identifying, by the global application update handler, an additional processing function in dependence upon the semantic interpretation; and executing the additional processing function.
 9. The system of claim 8 further comprising computer program instructions disposed within the computer memory capable of updating a visual element after executing the additional processing function.
 10. The system of claim 8 further comprising computer program instructions disposed within the computer memory capable of updating a voice form after executing the additional processing function.
 11. The system of claim 10 further comprising computer program instructions disposed within the computer memory capable of updating a state table after updating the voice form.
 12. The system of claim 8 wherein the computer program instructions disposed within the computer memory capable of exiting a voice form.
 13. The system of claim 12 further comprising computer program instructions disposed within the computer memory capable of restarting the voice form after executing the additional processing function.
 14. The system of claim 8 wherein the computer program instructions disposed within the computer memory capable of exiting a voice menu.
 15. A computer program product for synchronizing visual and speech events in a multimodal application, the computer program product embodied on a computer-readable recording medium, the computer program product comprising: computer program instructions that receive from a user speech; computer program instructions that determine a semantic interpretation of the speech; computer program instructions that call a global application update handler; computer program instructions that identify, by the global application update handler, an additional processing function in dependence upon the semantic interpretation; and computer program instructions that execute the additional processing function.
 16. The computer program product of claim 15 further comprising computer program instructions that update a visual element after executing the additional processing function.
 17. The computer program product of claim 15 further comprising computer program instructions that update a voice form after executing the additional processing function.
 18. The computer program product of claim 15 wherein computer program instructions that call a global application update handler further comprises exiting a voice form.
 19. The computer program product of claim 18 further comprising computer program instructions that restart the voice form after executing the additional processing function.
 20. The computer program product of claim 15 wherein computer program instructions that call a global application update handler further comprises exiting a voice menu. 